asp.net core identity get all roles

106

asp.net core identity get all roles -

var roleStore = new RoleStore<IdentityRole>(_context);
List<IdentityRole> roles = roleStore.Roles.ToList();

Comments

Submit
0 Comments